{strip}
<script type="text/javascript" src="{$siteroot}/includes/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="{$siteroot}/includes/js/jquery.tools.min.js"></script>
<script type="text/javascript" src="{$siteroot}/includes/js/jquery.validate.min.js"></script>


<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css"/>
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/popup.css"/>

<link href="{$siteroot}/templates/default/style/style_rating.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$siteroot}/includes/js/star_rating/rating.js"></script>
<script type="text/javascript" language="javascript" src="{$siteroot}/includes/js/postrating.js"></script>
{/strip}
{literal}
    <style>
	.btn {
    background:-moz-linear-gradient(center top , #6BC3E6 0%, #1BA4DA 100%) repeat scroll 0 0 transparent;
    border:1px solid #4EB0D7;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 2px 0 #0594CD;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 16px;
    text-align: center;
	background-color:#35AEDE ;
}
.error{color:#F00}
.pop_mainsec dl{ display:block; width:100%; padding:1px 0px;}

.error{ margin:0px!important;}
</style>
    {/literal}
<div>	
		{if $msg != ""} 
			<div style="border:0px solid red;padding-left:15px;padding-top:15px;" class="rowLabel"><b>{$msg}</b></div>
			<br> 		
		{/if}
        
        {if $smarty.get.id2 eq 'post'}
		<div class="popup_wrapp">
		  <div class="pop_title">Post Your Review For <strong>{$job_details.username}</strong></div>
            <form name="contactme" id="contactme" method="post" class="nyroModal" action="" >          
                <div class="form1 pop_mainsec">
                  <dl> 
                    <dt> Ratings:</dt>
                    <dd style="margin-bottom:10px; margin-left:0px; padding:0px!important; ">
                     <div id="rating_1">
                             <span class="star_1"><img src="{$siteroot}/templates/default/images/stars.png" alt=""  class="rating"/></span>
                             <span class="star_2"><img src="{$siteroot}/templates/default/images/stars.png" alt="" class="rating"/></span>
                             <span class="star_3"><img src="{$siteroot}/templates/default/images/stars.png" alt="" class="rating"/></span>
                             <span class="star_4"><img src="{$siteroot}/templates/default/images/stars.png" alt="" class="rating"/></span>
                             <span class="star_5"><img src="{$siteroot}/templates/default/images/stars.png" alt="" class="rating"/></span>
                      </div>          
                    </dd>
                    <div class="clear"></div>                   
                </dl> 
				<dl>
                    <dt id="rating_error">&nbsp;</dt>  
                    <dd class="star_rating" id="totalamount1_1" style="margin-bottom:10px; margin-left:0px; padding:0px!important; "> <input type="hidden" name="txt_rating" id="txt_rating" value="" /></dd>
              </dl>  
             <!-- <dl>
              	<dt>&nbsp;</dt>
                <dd ></dd>
                     <div class="clear"></div>  
             </dl>    
-->
                    <dl style="padding-bottom:10px;">
                    	<dt>Feedback:</dt>
                        <dd style="margin-bottom:10px; margin-left:0px; padding:0px!important; ">
                            <textarea  name="send_message" id="send_message" class="textarea" style="width:300px;height:100px;"></textarea>
                        </dd>
                        <div class="clear"></div>
                    </dl>
                    <dl>
                    	<dt>&nbsp;</dt>
                        <dd style="margin-bottom:10px; margin-left:0px; padding:0px!important; ">
                            <input type="submit" name="post_msg" id="button" class="btn" value="Send">
                        </dd>
                        <div class="clear"></div>
                    </dl>
                </div>
            </form>
		</div>
{/if}

        {if $smarty.get.id2 eq 'see'}
		<div class="popup_wrapp">
		  <div class="pop_title">Your Review For <strong>{$review_details.to_first_name} {$review_details.to_last_name}</strong></div>
            <form name="contactme" id="contactme" method="post" class="nyroModal" action="" >          
                <div class="form1">
                  <dl> 
                    <dt> Ratings:</dt>
                    <dd>
                    <div id="review">
                    {section name=i loop=$total_rating start=0 max =$total_rating}
                    	<span class=""><img src="{$siteroot}/templates/default/images/y_star.png" alt=""  class=""/></span>
                    {/section}
                    
                    {section name=j loop=$remaining_rating start =0 max=$remaining_rating}
                    	<span class="star_1"><img src="{$siteroot}/templates/default/images/g_star.png" alt=""  class=""/></span>
                    {/section}
                    </div>
                    </dd>
                </dl> 

                    <dl>
                    	<dt>Feedback:</dt>
                        <dd style="margin-bottom:10px;">{$review_details.message|ucfirst|stripslashes|strip_tags:true}</dd>
                        <div class="clear"></div>
                    </dl>
                </div>
            </form>
		</div>
{/if}			
</div> 